package com.sport.setting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sport.model.setting.dtos.SportEventsGradeSettingDto;
import com.sport.model.setting.pojos.SportEventsGrade;
import com.sport.model.setting.pojos.SportPreInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface SportPreInfoMapper extends BaseMapper<SportPreInfo> {

    Integer initSportMeeting(String schoolTenementId);

    List<SportEventsGrade> obtainSportEventsGrade(String schoolTenementId);

    Integer deleteSportGrade(SportEventsGradeSettingDto sportEventsGradeSettingDto);

    Integer insertSportGrade(SportEventsGradeSettingDto sportEventsGradeSettingDto);

    List<String> getSportOriginGrade(String schoolTenementId);
}
